package pers.cj.pdos.mapper;

import org.apache.ibatis.annotations.Param;
import pers.cj.pdos.entity.BudgetProject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenj
 * @since 2019-11-04
 */
public interface BudgetProjectMapper extends BaseMapper<BudgetProject> {

    List<BudgetProject> listVo(@Param("companyId") String companyId, @Param("page") Integer page, @Param("limit") Integer limit,
                               @Param("type") Integer type, @Param("search") String search);

    long count(@Param("companyId")String companyId, @Param("type") Integer type, @Param("search") String search);
}
